package com.ruoyi.resume.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工作经历对象 cv_work_experience
 * 
 * @author ruoyi
 * @date 2024-05-31
 */
public class CvWorkExperience extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作经历id */
    @Excel(name = "工作经历id")
    private Long id;

    /** 基本信息id */
    @Excel(name = "基本信息id")
    private Long informationId;

    /** 工作开始时间 */
    @Excel(name = "工作开始时间")
    private String workCreate;

    /** 工作结束时间 */
    @Excel(name = "工作结束时间")
    private String workEnd;

    /** 工作公司 */
    @Excel(name = "工作公司")
    private String workCompany;

    /** 工作部门 */
    @Excel(name = "工作部门")
    private String workDepartment;

    /** 工作岗位 */
    @Excel(name = "工作岗位")
    private String workPost;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInformationId(Long informationId) 
    {
        this.informationId = informationId;
    }

    public Long getInformationId() 
    {
        return informationId;
    }
    public void setWorkCreate(String workCreate) 
    {
        this.workCreate = workCreate;
    }

    public String getWorkCreate() 
    {
        return workCreate;
    }
    public void setWorkEnd(String workEnd) 
    {
        this.workEnd = workEnd;
    }

    public String getWorkEnd() 
    {
        return workEnd;
    }
    public void setWorkCompany(String workCompany) 
    {
        this.workCompany = workCompany;
    }

    public String getWorkCompany() 
    {
        return workCompany;
    }
    public void setWorkDepartment(String workDepartment) 
    {
        this.workDepartment = workDepartment;
    }

    public String getWorkDepartment() 
    {
        return workDepartment;
    }
    public void setWorkPost(String workPost) 
    {
        this.workPost = workPost;
    }

    public String getWorkPost() 
    {
        return workPost;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("informationId", getInformationId())
            .append("workCreate", getWorkCreate())
            .append("workEnd", getWorkEnd())
            .append("workCompany", getWorkCompany())
            .append("workDepartment", getWorkDepartment())
            .append("workPost", getWorkPost())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
